package com.dd.census.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.dd.census.entity.Dictionary;

@Mapper
public interface DictionaryMapper {
	
	List<Dictionary> selectPage(Dictionary dictionary);
	
	List<Dictionary> selectAll(Dictionary dictionary);
	
	List<Dictionary> selectCode(@Param("groupName")String groupName);
	
	Dictionary selectById(Integer id);
	
	int selectCount(Dictionary dictionary);
	
	int insert(Dictionary dictionary);
	
	int update(Dictionary dictionary);
	
	int delete(Dictionary dictionary);
}
